package com.xiaou.buss.admin.menu.service;
import java.util.List;

import com.base.service.BaseService;
import com.xiaou.buss.admin.menu.entity.Menu;
import com.xiaou.buss.admin.menu.entity.MenuBO;

/**
 * 
 * <br>
 * <b>功能：</b>MenuService<br>
 */
public interface MenuService extends BaseService {
	public List<MenuBO> findUserMenu(String userId);
	
	public List<Menu> findRoleMenu(String roleId);
	
//	public List<MenuBO> findTreeMenu(String roleId);
	
	public List<MenuBO> findRoleMenuCheck(String roleId);

	public int queryMaxParentCode();

	public int queryMaxChildCode(Integer parentId);

	public void deleteParent(Integer menuId);

	public void deleteChild(Integer menuId);

	public List<MenuBO> findAllMenu();
}
